package com.yusj.consumer.web;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name= "service-producer", fallback=HelloProducerRemoteHystrix.class)
public interface HelloProducerRemote {
	@RequestMapping(value = "/hello/producer")
    public String helloProducer(@RequestParam(value = "name") String name);
}
